package com.xmzj.help;

import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;



public class BaseDialog extends Dialog {
    public Button okButton = null;
    public Button otherButton = null;
    public Button cancelButton = null;
    public ListView listView = null;
    public GridView gridView = null;
    public TextView contextTextView = null;
    public ImageView imageView = null;
    public EditText input = null;
    public View okView = null;
    public View cancelView = null;

    public BaseDialog(@NonNull Context context, int themeResId) {
        super(context, themeResId);
    }

    protected BaseDialog(@NonNull Context context, boolean cancelable, @Nullable DialogInterface.OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    public interface DialogDismissListener {
        void onDialogDismiss();
    }
}
